SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12ac41229d23603a373dd798f48f042617aeebe0e382ed15397623ddb8ae219e' 
  AND token = '/rxGGZ+J03DUTTs6Zg/MkKHp6p/hA9Gpjw428YkbhCg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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