SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '52ef9b52844613366930eb6e516a40b29ad815a197ac93064461407ddf35dfdb' 
  AND token = 'xmtdTMUB4QLT676iNEGtzEriO+FEgP4Xs/Mt2k5JKtg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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