SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1670fc9dc24a8ba1c2b73b99376cfaaeef9f294a12609aa168416920475b6281' 
  AND token = 'NaaTN1Wmse00UCAjM0GH+PmlUnp3qLxft0ZBif/axSQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00065

JSON explain

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