SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a014d85f4dcbf21fa8e27f2b8765845a1be5df59cd8135caca20a4880e26d347' 
  AND token = 'iQco835cKg4a3nmVh5wmtRfAdPw+/3NoeFYCNqOJsms=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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