SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7be1c13c670e34aa8d42d3684c56a51bcc7a5381789aa917151743257b8e665a' 
  AND token = 'ZpfiH+8J268VPRdQ8bXIQX8F0lXs+l1MBm4w39xTzE4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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