SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '07fd4431f0bf23893f61ff0079908ca9dc6e473f7ef67d1df3ca459d348cb182' 
  AND token = '0AffPzRMInGoUAwUiJGla1kPenv0SJD144047mwaqpw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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