SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24971f88e6e689ba7a3c5a52fe6022cbf40586aa2dff967086e92e69367fcbd1' 
  AND token = 'g/2fXeXw7sCyyxALW93P3edcn4vBslm1pdmnbO49xoU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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