SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0ccc47bce17518bfb01e42b95a139a91cbffe68a1616d55c4137d7da05b6b944' 
  AND token = 'yFkaC4s22t2Vk3VZx5G9LRcvG/meMAquG+idap66r90=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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