SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dc23d87747cce881506e87ffcc8c7ac48cbf8c2e460dfba95851d9c4351630a0' 
  AND token = 'ap2hEJkYBXIqaO0JgRb95XK59tlDv5UR9/tF1kheeo8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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