SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f6897de5d18118e40d3f678a8ca2afab975811c484ce6742132eb47837d105d7' 
  AND token = 'ArOXMPY/w0qiayTjY3vdw8opDAzZDOsH4DtDdpqUA+w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}