SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'edf9a27cbb2411b0eb429be093e63e489f42ff7900e181b68da1160f79486b4a' 
  AND token = 'Se5iMoBKEu8Fi6MBAPn6/do1PgLz8ibYNsvKzdKlOsE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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