SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5283324da8092c4903cd8b54a91f78a1f17700fca263c00ec627eda4e4d4d699' 
  AND token = 'f0cGWa0T3DgtdfOYO67oXhpp/tnhPsa716oTO2dNxvM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00136

JSON explain

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