SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2511db4ad4953f2a12d2f17b98ae05925823745f8885e795bf2cb7a0df730672' 
  AND token = 'F8sCTkzmyRD7nLui4j/iW4wQMEOnHHF5eB487x5eEjE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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