SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd6f299d37670ddcb2dc1407c961262235aa516416ca8ebf142fea635af374ace' 
  AND token = 'XEKxoizuNppn1fUhD8AZbes4kv3Sd9rLbU8T362MMKQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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