SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef4887c1ad1e0072bf401a98761c8e91009b526bfd3f94f97a1ee8d138d3f64f' 
  AND token = 'lq7OLEPCUeXCDzBxqaI5ZcWoFcHWNzESn5Bia4LvAdo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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