SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cca4df51f0d831f6a39132ce80095ff169ee39f36abfcb596b679769d1e4a5df' 
  AND token = 'scQBDmZWNmatf9NpzopPPRiRIDENir3Rdpf90aYtIes=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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