SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0ccc2ab83828d8390fce04630a14c26a858a44550feca28c7304ea75514b1c69' 
  AND token = 'TOkEfKruA48peTt3URVq7uwSwU/533dJJfVDKI5RIeQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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