SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9c37f36da758fac8a924c02963c69c8233ba14b74ad164153e8363821792e3b4' 
  AND token = 'hUbfA+v5EtRT9ZaQHTfQWtYchRpK12fi6CySViWod2Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00074

JSON explain

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