SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '867502917d1b6a512a2792e66ae996f5212eed1e8108ae4c809ab787e758f9fc' 
  AND token = 'REcXc0arX2cK5YWWzu1ujrGQetHOO40w/qYH4H/TTaY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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