SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c1d4756d12a6b77244ed6b6eeab7595e8f9a6b07944554d52d0a4ca0d93abd30' 
  AND token = 'bAFU23wf/d3YMpxe55a3yWbrkgO/5al583kcRND8wCA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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