SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f87e897dbf33af9a5f5158e3d80b144c2666fa7cd09cc159b2caadb1e3dd947e' 
  AND token = 'ofP7k/9YmD4+XxIoERAV2n8kt0dnGuSaFKHmnfjbbKM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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