SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3a76615282ae1768073927106b6ea8ce9d6b113a3e93b77822848f5532cf670a' 
  AND token = 'H7H5CrIdndynEVwo1ANqm/Cm0UpTTUN901BnBlgjMdQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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