SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '800252e879922189c428e41cf3fa8ac0b54eb5d27bbabafa4789f0fe898c2ba8' 
  AND token = 'BXMBf22Q30TQTVXF76cCMo7Htuimx+JY/fLnAahDgIc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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