SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7cd488326db862c157df973b383b04202115805030971e783ece4d5c29d3a488' 
  AND token = 'TMbn1/tkDyQrM/Jzz7agagsPKo61PudeimuWi2IKD6M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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