SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b8a764cfa2b59edf5e6d7098da70d0c02efb8327a067f6a7bfc0351c5140c838' 
  AND token = 'k7wcXFDRpVZr+A352zP4AZ9Pa5HM34VHRtLAImaDzXI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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