SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '66f12d850cb5e8b8eb0fd89e93663477f4cf17c377848d190862183129aa9119' 
  AND token = 'BL40ZHzLhO2he8vdjOgD4SlGoVPYbwyjAnBoKDkqPNo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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