SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '407989018bc6655401d3c01837a0d668e54891598f5955d112a2e71cd181df37' 
  AND token = 'BGwSD9sCP3so04LKVRJl/rmDsOpnsZXIe0X6W6MH3tU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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