SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ae7a7435cf3035ed3e7c7001cf3072b944b28f5b0190f90fa77aa824110baa79' 
  AND token = 'rheP/qaT8p6fwQe9PKooWpXo7CttHm11L/wEv9whbac=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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